package com.yiren.manager.form.cost;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.form.elder.YrElderBeHospitalForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrElderArrearageForm extends GenericForm{
	
	private static final long serialVersionUID = -634397214157492080L;

	private String elderArrearageId;

	private Float arrearageMoney;

	private String arrearageReason;

	private Integer arrearageType;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private String elderCardId;

	private String elderId;

	private String elderName;

	private String relationId;

	private String remark;

 	@DateTimeFormat(pattern="yyyy-MM-dd") 
	private Date shouldPayDate;

	private Integer status;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;
	
	private String arrearageDesc;
	
	private Integer arrearagePayWay;
	
	private String createId;
	
	private String subjectRoomId;
	
	private String handler;
	
	private YrElderBeHospitalForm elderBeHospitalForm;
	
	private String beHospitalId;
	
	public String getBeHospitalId() {
		return beHospitalId;
	}

	public void setBeHospitalId(String beHospitalId) {
		this.beHospitalId = beHospitalId;
	}

	public YrElderBeHospitalForm getElderBeHospitalForm() {
		return elderBeHospitalForm;
	}

	public void setElderBeHospitalForm(YrElderBeHospitalForm elderBeHospitalForm) {
		this.elderBeHospitalForm = elderBeHospitalForm;
	}

	public String getHandler() {
		return handler;
	}

	public void setHandler(String handler) {
		this.handler = handler;
	}

	public String getSubjectRoomId() {
		return subjectRoomId;
	}

	public void setSubjectRoomId(String subjectRoomId) {
		this.subjectRoomId = subjectRoomId;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Integer getArrearagePayWay() {
		return arrearagePayWay;
	}

	public void setArrearagePayWay(Integer arrearagePayWay) {
		this.arrearagePayWay = arrearagePayWay;
	}

	public String getArrearageDesc() {
		return arrearageDesc;
	}

	public void setArrearageDesc(String arrearageDesc) {
		this.arrearageDesc = arrearageDesc;
	}

	public String getElderArrearageId() {
		return elderArrearageId;
	}

	public void setElderArrearageId(String elderArrearageId) {
		this.elderArrearageId = elderArrearageId;
	}

	public Float getArrearageMoney() {
		return arrearageMoney;
	}

	public void setArrearageMoney(Float arrearageMoney) {
		this.arrearageMoney = arrearageMoney;
	}

	public String getArrearageReason() {
		return arrearageReason;
	}

	public void setArrearageReason(String arrearageReason) {
		this.arrearageReason = arrearageReason;
	}

	public Integer getArrearageType() {
		return arrearageType;
	}

	public void setArrearageType(Integer arrearageType) {
		this.arrearageType = arrearageType;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getElderCardId() {
		return elderCardId;
	}

	public void setElderCardId(String elderCardId) {
		this.elderCardId = elderCardId;
	}

	public String getElderId() {
		return elderId;
	}

	public void setElderId(String elderId) {
		this.elderId = elderId;
	}

	public String getElderName() {
		return elderName;
	}

	public void setElderName(String elderName) {
		this.elderName = elderName;
	}

	public String getRelationId() {
		return relationId;
	}

	public void setRelationId(String relationId) {
		this.relationId = relationId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getShouldPayDate() {
		return shouldPayDate;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setShouldPayDate(Date shouldPayDate) {
		this.shouldPayDate = shouldPayDate;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
